package model;

public class Translation {
	
	private final int INITIAL_X_POSITION = 0;
	private final int INITIAL_Y_POSITION = 0;
	
	private int xPosition;
	private int yPosition;
	
	public Translation() {
		xPosition = INITIAL_X_POSITION;
		yPosition = INITIAL_Y_POSITION;
	}
	
	public int getxPosition() {
		return xPosition;
	}
	
	public void setxPosition(int xPosition) {
		this.xPosition = xPosition;
	}
	
	public void updatexPosition(int xTranslation) {
		this.xPosition += xTranslation;
	}
	
	public int getyPosition() {
		return yPosition;
	}
	
	public void setyPosition(int yPosition) {
		this.yPosition = yPosition;
	}
	
	public void updateyPosition(int yTranslation) {
		this.yPosition += yTranslation;
	}
	
	public void reset()  {
		xPosition = INITIAL_X_POSITION;
		yPosition = INITIAL_Y_POSITION;
	}
}